<?php 


	if ($question['Answertype']['Formtype']['plural'] == 0){

		echo "single checkbox fields not yet supported";

	}else{

		echo '<table>';
		foreach ($question['Answer'] as $answer){
			
			$answer_display = $answer['answer_'.$question['Answervalue']['variable_type']].' '.$question['Answervalue']['abbreviation'];
			echo "<tr><th width='20'><input type='checkbox' name='data[Question][answer_id]' value='".$answer['id']."'/></th><td>".$answer_display.'</td></tr>';

		}
		echo '</table>';

	}

?>
